package edu.scau.mis.rest.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (RestOrderItem)实体类
 *
 * @author makejava
 * @since 2022-03-16 21:50:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RestOrderItem implements Serializable {
    private static final long serialVersionUID = 981070974720343475L;
    /**
     * 订单产品ID
     */
    private Long id;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 产品ID
     */
    private Long itemId;
    /**
     * 单品销售金额
     */
    private BigDecimal saleAmount;
    /**
     * 单品销售数量
     */
    private Integer saleQuantity;

}

